package cn.damai.search.mapper;

import cn.damai.model.Image;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ImageMapper {

	Image getImageById(@Param(value = "id") Long id);

	List<Image> getImageListByMap(Map<String, Object> param);

	Integer getImageCountByMap(Map<String, Object> param);

	Integer insertImage(Image Image);

	Integer updateImage(Image Image);

//	Integer deleteImageById(@Param(value = "id") Long id);
//
//	Integer batchDeleteImage(Map<String,List<String>> params);

}
